-
Home
-
Quantity Discounts, Breaks & Product Bundles for Woocommerce By Bundler
-
3.1.0
-
Code
-
Classes
- Discount
Total Complexity |
7 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
176 |
Lines of code |
69 |
Logical lines of code |
26 |
Comment lines |
57 |
Methods |
6 |
Properties |
0 |
Methods 6
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_discount_to_offer() |
S |
50 |
1 |
29 |
get_custom_variant_discount() |
S |
61 |
2 |
12 |
get_discounts_by_product_id() |
S |
64 |
1 |
9 |
get_discounts_by_offer_id() |
S |
69 |
1 |
6 |
get_discounts_by_offer_id_sort_by_qty_desc() |
S |
66 |
1 |
8 |
delete_discounts() |
S |
72 |
1 |
5 |